<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <link rel="icon" href="/favicon.ico" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title><%= title %></title>
        <%- copyrightScript %>
    </head>
    <body>
        <div id="app"></div>
        <script type="module" src="/src/main.js"></script>
        <% if (debugTool == 'eruda') { %>
            <script src="https://cdn.jsdelivr.net/npm/eruda/eruda.min.js"></script>
            <script>eruda.init();</script>
        <% } %>
        <% if (debugTool == 'vconsole') { %>
            <script src="https://cdn.jsdelivr.net/npm/vconsole/dist/vconsole.min.js"></script>
            <script>new VConsole();</script>
        <% } %>
    </body>
</html>
